﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TRPOP.CMS.Web.UI;

namespace TRPOP.CMS.Web.Admin
{
    public partial class Sort_Node : BaseAdmin
    {
        #region 当前页面权限验证
        protected override void SubPageInit()
        {
            base.m_SubPagePermission = Plugin.PermissionKeys.PermissionEnum.Node_Save;
        }
        #endregion

        protected void Page_Load(object sender, EventArgs e)
        {
            int intnodeid = TRPOP.Common.RequestHelper.RequestInt("nodeid");
            if (intnodeid > 0)
            {
                TRPOP.CMS.Model.NodeInfo oNodeInfo = new TRPOP.CMS.Business.NodeManage().GetInfoById(intnodeid);
                if (oNodeInfo != null)
                    SortWeight.Text = oNodeInfo.DisplayOrder.ToString();
            }
        }
    }
}
